package com.bird.extension.pattern.simpleFactory.factoryMethod;

import com.bird.extension.pattern.simpleFactory.entity.DellMouse;
import com.bird.extension.pattern.simpleFactory.entity.Mouse;

/**
 * @Author: sijunqiang
 * @Date: 2020/3/31 23:38
 * @Description: 定义dell工厂专门用来生产dell鼠标
 */
public class DellMouseFactory implements MouseFactory {
    /**
     * 专门生产戴尔鼠标
     *
     * @return
     */
    @Override
    public Mouse createMouse() {
        return new DellMouse();
    }
}
